﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EMC.VISITOR.Core.SeedData
{
    public class SysPageOptionConfigSeedData : ISqlSugarEntitySeedData<SysPageOptionConfig>
    {
        /// <summary>
        /// 种子数据
        /// </summary>
        /// <returns></returns>
        public IEnumerable<SysPageOptionConfig> HasData()
        {
            List<SysPageOptionConfig> config = new List<SysPageOptionConfig>()
            {
                new SysPageOptionConfig
                {
                    Id =10000000000000,
                    configPath="/main/sysDataTransfer/index",
                    configName="数据迁移",
                    configCode="sysDataTransfer",
                    height="80%",
                    emptyText="暂无数据",
                    calcHeight=30,
                    gutter=0,
                    searchShow = false,
                    searchSpan=4,
                    searchMenuSpan =4,
                    viewBtn=false,
                    menu=true,
                    filterBtn= true,
                    searchIcon=true,
                    printBtn = false,
                    excelBtn=true,
                    border=true,
                    index =true,
                    dialogWidth="80%",
                    cellBtn=true,

                    addCustomBtn=true,
                    addCustomText="新增",
                    addCustomIcon="ele-Plus",

                    saveCustomBtn=true,
                    saveCustomText ="保存",
                    saveCustomIcon="ele-Edit",

                    editCustomBtn=true,
                    editCustomText ="编辑",
                    editCustomIcon="ele-Edit",

                    delCustomBtn=true,
                    delCustomText="删除",
                    delCustomIcon ="ele-Delete",

                    settingBtn=true,
                    rowKey ="id",
                    selection=true,
                    tableMultiple=true,
                    labelWidth=100,
                    headerAlign ="center",
                    align="center",
                    defaultSort = new DefaultSort(),
                    dialogDirection= "rtl",
                    dialogType="drawer"
                }
            };

            return config;
        }


    }
}